#include <stdio.h>

int main()
{
	float x,y;
	float z;
	scanf("%d%d",&x,&y);
	z = (87*x + 85*y)/(x+y);
	printf("%.2f",z);
	return 0;
}
